<template>
  <div id="header">
    <header-left class="header-left"/>
    <header-middle class="header-middle"/>
    <header-right class="header-right"/>
  </div>
</template>

<script>
import HeaderLeft from './childrenCpns/HeaderLeft.vue'
import HeaderMiddle from './childrenCpns/HeaderMiddle.vue'
import HeaderRight from './childrenCpns/HeaderRight.vue'

export default {
  name: 'Header',
  components: {
    HeaderLeft,
    HeaderMiddle,
    HeaderRight
  }
}
</script>

<style scoped lang="less">
#header {
  display: flex;
  // text-align: center;
  align-items: center;
  // align-items: center;
  height: 50px;
  background-color: #c62f2f;
  .header-left {
    width: 210px;
  }
  .header-right {
    width: 150px;
  }
  .header-middle {
    flex: 1;
  }
}
</style>
